package com.edu.lwh.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
//@ConfigurationProperties(prefix = "user.jwt")
@Data
public class JwtProperties {

    /**
     * RSA私钥（base64加密后）
     */
    private String privateKey="MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMLqh/8SqczbTTyBGkUAkl3eIYXmjo/pK4k5wqriIlD7rYQXhYoYgZC6cmM/BU1AWoO5PuSj1tEVk2cxtr0DkasUQu0Aru3M72XX0mAVwIFChTcnp6E8IK6dErPnaom7NLTKImnR1sHaLpxvuZIJ+3Blq+ZynOGwFo4ZB3bcCcCZAgMBAAECgYAQgOUk7sKbytG+VrwPrZ22/vDdsojNnJOIGfDmoSEAtF6buZYf/DU0OOUojBR51wIS9yNhHpI4v9fsO+RaGqxBpvnxj7x2sQlsLk85YjGo2Mdb6xdSyZn8Stgz83612Pfy+8o9mDKKAtk2x4jJi4laX03b4wPzAPZawHNXbk8T0QJBAPhsXuUm4SpVY4pAX3cGwxAZG6egRS+U1eovnTZ4PvY9UKVmykAg9hqgD/0wUlay0GyV0WryGdk1W7dyO4tchrUCQQDI3GOtuvZIcxuNCFn2kEQmsdSd6aeTFbN541/3dJsmgQMuUYrheG1ufP0SvCGm4NOc/cKvjtKAIWIMC54+VnzVAkEAnTXnr9i08ddr0NgAEhEjbJKXH7ObVQs5fKR5NzlNjwMqgCHWqFKzrBHTTIVB9j/fCnidOLLRjNXpnuQZro31aQJAbTmbYr/GaYNeugSOl0vAI6KUUgLbQ1qLrH5+kxvvurJxPmDNOuq351tEa0muqwabTEWZ9smdoluE67Ptq0xwuQJBAIVHH3laBlge/BwdMOeqo7GIvLBPdeOBCYyhMVhLPAVPXSlAzf5watY01rrT3tr5a00pKYXOCGvlxmleJFgvl70=";
    /**
     * RSA公钥（base64加密后）
     */
    private String publicKey ="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDC6of/EqnM2008gRpFAJJd3iGF5o6P6SuJOcKq4iJQ+62EF4WKGIGQunJjPwVNQFqDuT7ko9bRFZNnMba9A5GrFELtAK7tzO9l19JgFcCBQoU3J6ehPCCunRKz52qJuzS0yiJp0dbB2i6cb7mSCftwZavmcpzhsBaOGQd23AnAmQIDAQAB";
    /**
     * 短令牌有效期时间，单位：分钟
     */
    private Integer accessTtl = 100000;

}